<%layout("/common/g_layout.html"){%>

<div class="container gr">
    <div class="row gr-title">
        <h2>我的设团小组</h2>
    </div>
    <div class="row">
        <div class="col-md-12">
            <ul class="nav nav-tabs gr-tabs">
                <li class="gr-tabs-join active" role="presentation"><a href="#">加入的小组</a></li>
                <li class="gr-tabs-love" role="presentation"><a href="#">创建的小组</a></li>
                <li class="gr-tabs-publish" role="presentation"><a href="#">发帖</a></li>
                <li class="gr-tabs-respond" role="presentation"><a href="#">回复</a></li>
            </ul>
            <div class="gr-tab gr-join">
                <%
                for(group in groups){
                %>
                <div class="gr-single">
                    <img src="${group.imageurl}" alt="驯龙记" />
                    <p><a href="/group/toGroupindex?id=${group.id}">${group.name}</a></p>
                    <p><span class="glyphicon glyphicon-user"></span> <span>${group.num}</span></p>
                </div>
                <%}%>

            </div>
            <div class="gr-tab gr-respond">
                <%
                for(g in huifu_Topics){
                %>
                <div class="gr-topic">
                    <span class="gr-title"><a href="/topic/goTopic?id=${g.id}">${g.name}</a></span>
                    <span class="gr-respTime">${g.commentnum}回应&nbsp;&nbsp;${printTime(g.update_time)}</span>
                    <span class="belong"><a href="">${g.group_name}</a></span>
                </div>
                <%}%>

            </div>
            <div class="gr-tab gr-publish">
                <%
                for(g in topicses){
                %>
                <div class="gr-topic">
                    <span class="gr-title"><a href="/topic/goTopic?id=${g.id}">${g.name}</a></span>
                    <span class="gr-respTime">${g.commentnum}回应&nbsp;&nbsp;${printTime(g.update_time)}</span>
                    <span class="belong"><a href="">${g.group_name}</a></span>
                </div>
                <%}%>

            </div>
            <!-- <div class="gr-tab gr-love">
              <div class="gr-topic">
                <span class="gr-title"><a href="">love</a></span>
                <span class="gr-respTime">xxx回应&nbsp;&nbsp;x秒前</span>
                <span class="belong"><a href="">城南小组</a></span>
              </div>
              <div class="gr-topic">
                <span class="gr-title"><a href="">长亭外,古道边,芳草碧连天。晚风拂柳笛声残,夕阳山外山啦啦啦</a></span>
                <span class="gr-respTime">xxx回应&nbsp;&nbsp;x秒前</span>
                <span class="belong"><a href="">送别小组</a></span>
              </div>
              <div class="gr-topic">
                <span class="gr-title"><a href="">长亭外,古道边,芳草碧连天。晚风拂柳笛声残,夕阳山外山啦啦啦</a></span>
                <span class="gr-respTime">xxx回应&nbsp;&nbsp;x秒前</span>
                <span class="belong"><a href="">送别小组</a></span>
              </div>
              <div class="gr-topic">
                <span class="gr-title"><a href="">长亭外,古道边,芳草碧连天。晚风拂柳笛声残,夕阳山外山啦啦啦</a></span>
                <span class="gr-respTime">xxx回应&nbsp;&nbsp;x秒前</span>
                <span class="belong"><a href="">送别小组</a></span>
              </div>
            </div> -->
            <div class="gr-tab gr-love">
                <%
                for(g in create_group){
                %>
                <div class="gr-single">
                    <img src="${g.imageurl}" alt="驯龙记" />
                    <p><a href="/group/toGroupindex?id=${g.id}">${g.name}</a></p>
                    <p><span class="glyphicon glyphicon-user"></span> <span>${g.num}人</span></p>
                </div>
                <%}%>

            </div>
        </div>
    </div>
</div>

<%include("/common/footer.html"){}%>

<script src="${ctxPath}/group/js/scripts/nav.js"></script>
<script src="${ctxPath}/group/js/scripts/gr_messege.js"></script>


<%}%>

